package org.summer.lawyer.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * 商品评价信息对象 spu_comment
 *
 * @author summer
 * @date 2024-06-21
 */
@Data
@TableName("spu_comment")
public class SpuComment  {


    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;



    /**
     * 用户ID
     */
    @TableField(value = "wx_user_id")
    private Long wxUserId;



    /**
     * 用户昵称
     */
    @TableField(value = "nickname")
    private String nickname;



    /**
     * 用户头像
     */
    @TableField(value = "avatar")
    private String avatar;



    /**
     * 是否匿名（0否，1是）
     */
    @TableField(value = "anonymous")
    private String anonymous;



    /**
     * 订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;



    /**
     * 交易订单项编号关联
     */
    @TableField(value = "order_item_id")
    private Long orderItemId;



    /**
     * 商品ID
     */
    @TableField(value = "spu_id")
    private Long spuId;



    /**
     * 商品名称
     */
    @TableField(value = "spu_name")
    private String spuName;



    /**
     * 综合评价
     */
    @TableField(value = "overall_rating")
    private Integer overallRating;



    /**
     * 专业水平
     */
    @TableField(value = "competence_rating")
    private Integer competenceRating;



    /**
     * 工作态度
     */
    @TableField(value = "attitude_rating")
    private Integer attitudeRating;



    /**
     * 工作效率
     */
    @TableField(value = "efficiency_rating")
    private Integer efficiencyRating;



    /**
     * 平均分
     */
    @TableField(value = "average_rating")
    private Integer averageRating;



    /**
     * 评价内容
     */
    @TableField(value = "review_content")
    private String reviewContent;



    /**
     * 评价时间
     */
    @TableField(value = "review_time")
    private Date reviewTime;


    /**
     * 律所ID
     */
    @TableField(value = "law_firm_id")
    private Long lawFirmId;

    /**
     * 律师印象标签
     */
    @TableField(value = "review_tag")
    private String reviewTag;



    /**
     * 商家是否回复（0未回复，1已回复）
     */
    @TableField(value = "reply_status")
    private String replyStatus;



    /**
     * 回复人ID
     */
    @TableField(value = "reply_user_id")
    private Long replyUserId;



    /**
     * 回复内容
     */
    @TableField(value = "reply_content")
    private String replyContent;



    /**
     * 回复时间
     */
    @TableField(value = "reply_time")
    private Date replyTime;



    /**
     * 评论状态
     */
    @TableField(value = "status")
    private String status;



    /**
     * 评价是否可见（0不可见，1可见）
     */
    @TableField(value = "visible")
    private String visible;



    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    @TableField(value = "del_flag")
    private String delFlag;



    /**
     * 创建者
     */
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private Long createBy;



    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;



    /**
     * 更新者
     */
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;



    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 用户手机号
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * 律所名称
     */
    @TableField(value = "law_firm_name")
    private String lawFirmName;


    /**
     * 律所logo
     */
    @TableField(value = "law_firm_logo")
    private String lawFirmLogo;

    /**
     * 订单编号
     */
    @TableField(value = "order_number")
    private String orderNumber;

}
